using System.Threading.Tasks;
using Winhance.Core.Features.SoftwareApps.Models;

namespace Winhance.Core.Features.Common.Interfaces
{
    public interface IScheduledTaskService
    {
        Task<bool> RegisterScheduledTaskAsync(RemovalScript script);
        Task<bool> UnregisterScheduledTaskAsync(string taskName);
        Task<bool> IsTaskRegisteredAsync(string taskName);
        Task<bool> CreateUserLogonTaskAsync(string taskName, string command, string username, bool deleteAfterRun = true);
    }
}